<?php
class LDAPConf {
	//config for ldap connection
	public static $ldap_host = "localhost";
	public static $ldap_port = 389;
	public static $ldap_baseDN= "dc=lvtn,dc=com";
	public static $ldap_usersDN = "ou=people,dc=lvtn,dc=com";
	public static $ldap_root_user= "cn=admin,dc=lvtn,dc=com";
	public static $ldap_root_password= "756432";
	
	//sync policy config
	public static $ldap_create_hrm_user = true;
	public  static $ldap_group_on_user = true ;
	
	// names of ldap attributes and config
	const LDAP_EMPLOYEE_GID_NUMBER = 10000 ;
    public static $ldap_user_objectClass = "posixAccount";
	public static $ldap_login_attr= "uid";
	public static $ldap_password_attr= "userPassword";
	public static $ldap_fullname_attr= "cn";
	public static $ldap_lastname_attr= "sn";
	public static $ldap_firstname_attr= "givenname";
	public static $ldap_home_directory_attr= "homedirectory";	
	public static $ldap_employee_id_attr= "employeenumber";	
	public static $ldap_user_id_attr = "uidNumber";
	public static $ldap_group_id_attr = "gidNumber";
	public static $ldap_group_id_number = self::LDAP_EMPLOYEE_GID_NUMBER;


	
}
?>
